//
//  FlipsideViewController.h
//  Megatlon
//
//  Created by Leandro Milmanda on 4/7/12.
//  Copyright 2012 www.lemil.com.ar. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
#import "SucursalCustomCell.h"
#import "SucursalesDao.h"

@class FlipsideViewController;
@class DisplayMap;

@protocol FlipsideViewController
- (void)flipsideViewControllerDidFinish:(FlipsideViewController *)controller;
@end

@interface FlipsideViewController  : UIViewController <UITableViewDelegate, UITableViewDataSource>
{
    IBOutlet UINavigationBar *navBar;
    IBOutlet UINavigationItem *navItem;
    IBOutlet UIBarButtonItem *barButton;
    IBOutlet UITableView *tblSimpleTable;
	NSArray *arryData;
	IBOutlet SucursalCustomCell *tblCell;
    @private SucursalesDao *sucursalService;
    
}

@property (nonatomic, retain) IBOutlet  UIViewController *delegate;
@property (nonatomic) int selectedSucursal;
@property (nonatomic, retain) SucursalCustomCell *selectedCell;

- (IBAction)done:(id)sender;



@end
